package com.pro.common.api.auth;

import com.pro.common.api.auth.model.IAgent;

import java.io.Serializable;
import java.util.Collection;
import java.util.Map;

public interface IAgentService<T extends IAgent> {
    Collection<Long> getAllChildIdList(Long agentId);

    Map<Long, T> idMap(Collection<Long> ids);
}
